let a = {},
  b = {},
  c = { a: 1 };
a[b] = 1;
a[c] = 2; //a['[Object Object]']
console.log(a[b]); //2
